home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2934 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.itd.umich.edu!usenet
  2. From: Chris Lahey <clahey@umich.edu>
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Very Beginner Question with Think C
  5. Date: 25 Jan 1996 02:09:06 GMT
  6. Organization: University of Michigan
  7. Message-ID: <4e6oo2$l1e@lastactionhero.rs.itd.umich.edu>
  8. References: <tkuntz-2401961743180001@arctic-0.vf.pond.com>
  9. NNTP-Posting-Host: rep00703.reshall.umich.edu
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.12 (X11; I; Linux 1.2.13 i586)
  14. X-URL: news:tkuntz-2401961743180001@arctic-0.vf.pond.com
  15.  
  16. Link failed:  can mean many different things.  The linker should theoretically 
  17. give you more information.  The first thing I would do is check to make sure
  18. you have a project open.  THINK C requires you to have a project file to link
  19. anything (This is a good thing.)  If you do have a project open you should
  20. check to make sure you have one and only one function called main.  The two
  21. most
  22. likely things to cause you to not meet this requirement are that you haven't
  23. included your source file in the project or that you haven't removed something
  24. that should be removed.  If you see main(); in any other file, this may be the
  25. problem file.
  26.  
  27. I hope this helps.  Good Luck.
  28.     Chris
  29.  
  30.